package com.wishu.finance.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@lombok.Getter
@lombok.Setter
@lombok.ToString
public class ResponseDetailCfContractDto {
    private Long id;
    private Long cfContractId;
    private String cfContractNo;
    // 租约开始日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDate;
    // 租约结束日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;
    private Long sfContractId;
    private String sfContractNo;
    //合同类型
    private Integer contractType;
    // 楼盘ID
    private Long premisesId;
    private String premiseName;
    //房源id
    private String roomId;
    private String roomCode;
    private String roomName;
    //承租房间
    private String rentRoom;
    private String houseId;
    private String houseName;
    private Integer peopleNum;
    /**
     * 承租类型（数据来源：房产信息表的leaseType）
     * 0-	整租（分散式）
     * 1-	合租（分散式）
     * 2-	单身公寓（集中式）
     */
    private Integer signType;

    private Long tenantId;
    private String tenantName;
    private String tenantCardNo;
    private String tenantPhone;
    private String tenantContactAddress;
    private String tenantEmergencyPhone;
    private BigDecimal deposit;
    private Integer depositType;
    private BigDecimal monthRent;
    private BigDecimal remainingRentMoney;
    List<ReceiptDto> receiptList;
    //收款类型
    private Integer receiptType;
    //账单类型
    private Integer billType;
    //收款单号
    private String receiptOrderNo;
    //解约协议ID
    private String terminationId;
    //收款方式（押X付Y的Y）
    private Integer paymentType;
    //共租金
    private BigDecimal altogetherRent;
}
